-- Prefan Access Controller
-- PAC SVN Update'er

if not SERVER then return end

require( "svn" )

function PAC.Update()

	local update = svn.update( "garrysmod/addons/pac" )

	PAC.Print( PAC_CHAT_ALL, "Updating PAC to ", Color( 50, 200, 50 ), update )

end
PAC.AddChatCommand( "update", "STRING", "moderator", PAC.Update )

PAC.AddPlugin( "SVN Update", "Updates PAC via SVN.", "Prefanatic" )
